package com.topsun.posclient.common.bean;

import java.util.List;

/**                                                    
 * 功能描述: 添加说明                                  
 * Copyright: Copyright (c) 2011                       
 * Company: Tango               
 * @author  TanDong                    
 * @version 1.0 2011-8-25上午09:47:59                         
 * @see                                                
 *	HISTORY                                            
 * 2011-8-25上午09:47:59 创建文件                             
 **************************************************/
@SuppressWarnings("rawtypes")
public class PageBean {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/** 总记录数 */
	private long totalProperty;
	
	/** 当前页号 */
	private long currentPage = 1; 
	
	/** 分页结果 */
	private List root;
	
	/** �?��页码 */
	private long start;
	
	/** 每页多少 */
	private long limit = 10;
	
	/** 总页�?*/
	private long totalPage;
	
	/** 成功与否 */
	private boolean success = true;
	
	/** 查询条件 */
	private List conditions;
	
	/** 查询条件 */
	private Object objCondition;

	public Object getObjCondition() {
		return objCondition;
	}

	public void setObjCondition(Object objCondition) {
		this.objCondition = objCondition;
	}

	public long getLimit() {
		return limit;
	}

	public void setLimit(long limit) {
		this.limit = limit;
	}

	public List getRoot() {
		return root;
	}

	public void setRoot(List root) {
		this.root = root;
	}

	public long getStart() {
		return start;
	}

	public void setStart(long start) {
		this.start = start;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public long getTotalProperty() {
		return totalProperty;
	}

	public void setTotalProperty(long totalProperty) {
		this.totalProperty = totalProperty;
	}

	public List getConditions() {
		return conditions;
	}

	public void setConditions(List conditions) {
		this.conditions = conditions;
	}

	public long getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(long totalPage) {
		this.totalPage = totalPage;
	}

	public long getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(long currentPage) {
		this.currentPage = currentPage;
	}
}
